package com.ktdaddy.vo;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @Author: lujianhao
 * @Description: 元信息实体类
 * @Date: 2021/7/19 2:13 下午
 */
public class PermissionMetaVO {
    // 是否隐藏所有子菜单
    private boolean hideChildrenInMenu;
    // 隐藏该路由在面包屑上面的显示
    private boolean hideBreadcrumb;
    // 名称
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String title;
    // 当前激活的菜单。用于配置详情页时左侧激活的菜单路径
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String currentActiveMenu;
    // 图标
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String icon;
    // ignore_keep_alive
    private boolean ignoreKeepAlive;
    // 当前路由不再菜单显示
    private boolean hideMenu;
    // 当前路由菜单显示
    private boolean showMenu;
    // 内嵌iframe的地址
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String frameSrc;
    // 是否固定标签
    private boolean affix = false;

    public boolean isAffix() {
        return affix;
    }

    public void setAffix(boolean affix) {
        this.affix = affix;
    }

    public boolean isHideChildrenInMenu() {
        return hideChildrenInMenu;
    }

    public void setHideChildrenInMenu(boolean hideChildrenInMenu) {
        this.hideChildrenInMenu = hideChildrenInMenu;
    }

    public boolean isHideBreadcrumb() {
        return hideBreadcrumb;
    }

    public void setHideBreadcrumb(boolean hideBreadcrumb) {
        this.hideBreadcrumb = hideBreadcrumb;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCurrentActiveMenu() {
        return currentActiveMenu;
    }

    public void setCurrentActiveMenu(String currentActiveMenu) {
        this.currentActiveMenu = currentActiveMenu;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isIgnoreKeepAlive() {
        return ignoreKeepAlive;
    }

    public void setIgnoreKeepAlive(boolean ignoreKeepAlive) {
        this.ignoreKeepAlive = ignoreKeepAlive;
    }

    public boolean isHideMenu() {
        return hideMenu;
    }

    public void setHideMenu(boolean hideMenu) {
        this.hideMenu = hideMenu;
    }

    public boolean isShowMenu() {
        return showMenu;
    }

    public void setShowMenu(boolean showMenu) {
        this.showMenu = showMenu;
    }

    public String getFrameSrc() {
        return frameSrc;
    }

    public void setFrameSrc(String frameSrc) {
        this.frameSrc = frameSrc;
    }
}
